package com.example.chevbook_android;

import java.util.ArrayList;

public class Logement {
	 
	public String getTitre() {
		return libelleAppart;
	}
	public void setTitre(String titre) {
		this.libelleAppart = titre;
	}
	public String getAdresse() {
		return adRue;
	}
	public void setAdresse(String adresse) {
		this.adRue = adresse;
	}
	public String getCp() {
		return adCP;
	}
	public void setCp(String cp) {
		this.adCP = cp;
	}
	public String getVille() {
		return adVille;
	}
	public void setVille(String ville) {
		this.adVille = ville;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public double getPrix() {
		return prixLoyer;
	}
	public void setPrix(double prix) {
		this.prixLoyer = prix;
	}
	public int getId() {
		return idAppart;
	}
	public void setId(int id) {
		this.idAppart = id;
	}
	public int getDistance() {
		return distanceLycee;
	}
	public void setDistance(int distance) {
		this.distanceLycee = distance;
	}
	public int getNbpiece() {
		return nbPiece;
	}
	public void setNbpiece(int nbpiece) {
		this.nbPiece = nbpiece;
	}
	public String getMeuble() {
		return meuble;
	}
	public void setMeuble(String meuble) {
		this.meuble = meuble;
	}
	
	public int getSurface() {
		return surface;
	}
	public void setSurface(int surface) {
		this.surface = surface;
	}
	public String getTypeApp() {
		return typeA;
	}
	public void setTypeApp(String typeApp) {
		this.typeA = typeApp;
	}
	public String getMail() {
		return mail;
	}
	public void setMail(String mail) {
		this.mail = mail;
	}
	public String getTelephone() {
		return tel;
	}
	public void setTelephone(String telephone) {
		this.tel = telephone;
	}

	private String libelleAppart, adRue, adCP, adVille, description,typeA,meuble,mail,tel;
	private double prixLoyer ;
	private int idAppart,distanceLycee, nbPiece,surface;
	
	public Logement()
	{
		
	}
	
	public Logement (int i,String t, String a, String c, String v,int s, int dis,double p, String meu,String d, int nb, String m, String tele, String ta)
	{
		idAppart=i;
		libelleAppart = t;
		adRue = a;
		adCP = c;
		adVille = v;
		description =d;
		prixLoyer =p;
		distanceLycee = dis;
		nbPiece = nb;
		meuble = meu;
		surface = s;
		typeA = ta;
		mail = m;
		tel = tele;	
	}
}
